package io.renren.modules.shop.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 *
 * @author Yangqianyong
 * @email sunlightcs@gmail.com
 * @date 2021-11-17 15:35:51
 */
@Data
@TableName("shop_product_comment")
public class ProductCommentEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 评论ID
	 */
	@TableId
	private Long commentId;
	/**
	 * 商品ID
	 */
	private Long productId;
	/**
	 * 评论用户ID
	 */
	private Long customerId;
	/**
	 * 评论标题
	 */
	private String title;
	/**
	 * 评论内容
	 */
	private String content;
	/**
	 * 评论时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;

}
